package com.softeem.swaggerdemo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @Author mrchai 2020/10/12 14:59
 */
@ApiModel(value = "用户对象",description = "表示用户信息，包含id，用户名，密码等相关数据")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    @ApiModelProperty(value = "用户id")
    private int uid;
    @ApiModelProperty(value = "用户名或账户")
    private String username;
    @ApiModelProperty(value = "密码")
    private String password;

}
